﻿// Decompiled with JetBrains decompiler
// Type: Microsoft.InfoCards.SelfIssuedTokenFactoryCredential
// Assembly: infocard, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
// MVID: 8E14765A-6610-409A-BA36-099A0642905D
// Assembly location: E:\git\ALLIDA\windll\infocard.exe

using System.IO;

namespace Microsoft.InfoCards
{
  internal class SelfIssuedTokenFactoryCredential : TokenFactoryCredential
  {
    private InfoCard m_localCard;

    public SelfIssuedTokenFactoryCredential()
      : base(TokenFactoryCredentialType.SelfIssuedCredential)
    {
    }

    public InfoCard LocalCard
    {
      get
      {
        return this.m_localCard;
      }
    }

    protected override void DeserializeData(BinaryReader reader)
    {
      this.m_localCard = new InfoCard(reader.BaseStream);
    }
  }
}
